package com.spring.framework.config.manage.config;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @author xuweizhi
 * @since 2021/01/13 21:56
 */
@Aspect
@Component
public class LogAspect {

	@Pointcut("@within(PointAdvice) || @annotation(PointAdvice)")
	public void point() {
	}

	@Before("point()")
	public void before() {
		System.out.println("");
	}
}
